<!DOCTYPE html>
<html lang="" data-dpr="1" class=" " data-theme="light" style="font-size: 37.5px;">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <link rel="icon" href="/favicon.ico">
    <link href="/static/home/css/style.css" rel="stylesheet">
    <style>
        .layui-layer-btn a{
            font-size: 15px !important;
        }
    </style>
    <title>{$page_title}</title>
</head>
<body>
<div id="app">
    <div class="home">
        <div class="top">
            <div class="logo">
                <div class="icosn">
                    <img class="img" src="/static/home/image/icosn.png" />
                </div>
                <div class="slogo">
                    <div class="slo">
                        <img class="img2" src="/static/home/image/slo.png" />
                    </div>
                    <span class="ttt">PIL</span>
                </div>
            </div>
            <a href="/home/index/index" class=" navbtn">
                <span>Connect</span>
            </a>
        </div>

        <div class="fadeInRight">
            <div class="my-swipe van-swipe">
                <div class="van-swipe__track">
                    <div class="van-swipe-item">
                        <img class="imgs" src="/static/home/image/banner.png"/>
                    </div>
                </div>
                <div class="custom-indicator">1/1</div>
            </div>
        </div>

        <div class="content">
            <div class="actives">
                <div class="title">{:config("dbconfig.sys.b_token_name")}介绍</div>
                <div class="infos"> 派链（{:config("dbconfig.sys.b_token_name")}）是派月社区全球1万个超级节点共识的代币，同时也是NFT、元宇宙、Gamefi和公链的唯一通证。独特的共识机制和限量版的{:config("dbconfig.sys.b_token_name")}，有利于全面推动生态应用落地。 </div>
                <div class="btngrop">
                    <a  href="https://ht.mdex.co/#/swap" class="btn">交易{:config("dbconfig.sys.a_token_name")}</a>
                    <a  href="https://ht.mdex.co/#/add/HT/{:config("dbconfig.sys.lp_token_address")}" class="btn act">添加流动性</a>
                </div>
            </div>
            <div class="card nologin_show">
                <div class="imggrop">
                    <img class="im1" src="/static/home/image/imggrop_pl.png" />
                    <img class="im2" src="/static/home/image/imggrop_hb.png" />
                </div>
                <div class="ttx">{:config("dbconfig.sys.a_token_name")}/HT LP 挖矿 </div>
                <div class="line">
                    <div class="txt">0</div>
                    <button class="btn van-button van-button--primary van-button--normal auth_user">
                        <div class="van-button__content">
                            <span class="van-button__text">授权</span>
                        </div>
                    </button>
                </div>
            </div>

            <div style="display: none" class="card2 login_show">
                <div class="title">{:config("dbconfig.sys.a_token_name")}/HT流动池数据</div>
                <div class="list">
                    <div class="item">
                        <div class="num lp_rate" style="font-size: 34.7px;"><span>0.000000</span>%</div>
                        <div  class="tt">我的流动池LP占比</div>
                    </div>
                </div>
                <div class="list">
                    <div  class="item">
                        <div class="num all_lp_amount" style="font-size: 17.4px;">0</div>
                        <div class="tt">LP全网总量</div>
                    </div>
                    <div  class="item">
                        <div class="num lp_amount" style="font-size: 17.4px;">0</div>
                        <div class="tt">我的LP数量</div>
                    </div>
                </div>
                <div class="bottom">
                    <button id="pledge_btn" class="btn van-button van-button--primary van-button--normal btn-color">
                        <div class="van-button__content"><span class="van-button__text">质押</span>
                        </div>
                    </button>
                    <button id="rele_pledge_btn" class="btn van-button van-button--primary van-button--normal btn-color">
                        <div class="van-button__content"><span class="van-button__text">解押</span>
                        </div>
                    </button>
                    <div class="stbn pledge_log">质押/解押记录</div>
                </div>
            </div>

            <div  class="card2">
                <div class="title">
                    <div> {:config("dbconfig.sys.b_token_name")}挖矿数据</div>
                    <div class="node">挖矿详情</div>
                </div>
                <div class="list">
                    <div class="item">
                        <div class="num pool_all" style="font-size: 17.4px;">0</div>
                        <div class="tt">矿池总量({:config("dbconfig.sys.b_token_name")})</div>
                    </div>
                    <div class="item">
                        <div class="num today_all_bonus" style="font-size: 17.4px;">0</div>
                        <div class="tt">今日产出量({:config("dbconfig.sys.b_token_name")})</div>
                    </div>
                </div>
                <div class="list">
                    <div class="item">
                        <div class="num my_all_bonus" style="font-size: 17.4px;">0</div>
                        <div class="tt">我已挖出的总量({:config("dbconfig.sys.b_token_name")})</div>
                    </div>
                    <div class="item">
                        <div class="num my_today_bonus" style="font-size: 17.4px;">0</div>
                        <div  class="tt">我今日挖出总量({:config("dbconfig.sys.b_token_name")})</div>
                    </div>
                </div>
                <div class="list">
                    <div class="item">
                        <div class="num token_amount" style="font-size: 17.4px;">0</div>
                        <div class="tt">可提取({:config("dbconfig.sys.b_token_name")})</div>
                    </div>
                    <div class="item">
                        <div class="num cash_token_aomunt" style="font-size: 17.4px;">0</div>
                        <div class="tt">已领取({:config("dbconfig.sys.b_token_name")})</div>
                    </div>
                </div>
                <div class="bottom">
                    <button id="cash" class="btn van-button van-button--primary van-button--normal btn-color">
                        <div class="van-button__content"><span class="van-button__text">提取</span>
                        </div>
                    </button>
                    <div class="stbn cashList">提取记录</div>
                </div>
            </div>
            <div class="more">
                <div class="txts">合作伙伴</div>
                <div class="qblist">
                    <div class="icons"><img src="/static/home/image/icon1.png" alt=""><span> PiMoon </span></div>
                    <div class="icons"><img src="/static/home/image/icon2.png" alt=""><span>Huobi Wallet </span>
                    </div>
                    <div class="icons"><img src="/static/home/image/icon3.png" alt=""><span>Mdex</span></div>
                    <div class="icons"><img src="/static/home/image/icon4.png" alt=""><span>Certik</span></div>
                </div>
            </div>
            <div data-v-3ed2ebd7="" class="buttoms">{:config("dbconfig.sys.copyright")}</div>
        </div>


        <div class="van-overlay" style="z-index: 2006;display:none ;"></div>
        <!--  质押 start-->
        <div class="van-popup van-popup--round van-popup--center pledge_page" style="z-index: 2007;display: none;">
            <div class="popup" >
                <div class="title">质押LP令牌</div>
                <input style="border: 1px solid silver;height: 1rem;width: 66%;padding-left: 0.2rem;" class="txt" placeholder="请输入质押数量"  id="pledge_num" type="number" />
                <span id="lp_balance_show" style="font-size: 0.2rem;float: left;margin: 0.2rem 0 0.2rem 1.33rem;">当前可质押数量：<font>0</font></span>
                <div class="btns pledgeSubmit">质押</div>
                <div style="background: #290e54;" class="btns allPledgeSubmit">全部质押</div>
                <div style="display: none;" class="btns pledgeSubmiting">提交中...</div>
            </div>
        </div>
        <!--  质押 end-->
        <!--  解押 start-->
        <div class="van-popup van-popup--round van-popup--center rele_pledge_page" style="z-index: 2007;display: none;">
            <div class="popup" >
                <div class="title">解押LP令牌</div>
                <input style="border: 1px solid silver;height: 1rem;width: 66%;padding-left: 0.2rem;" class="txt" placeholder="请输入解押数量" id="rele_pledge_num" type="number" />
                <span id="lp_balance_show1" style="font-size: 0.2rem;float: left;margin: 0.2rem 0 0.2rem 1.33rem;">当前可质押数量：<font>0</font></span>
                <div class="btns relePledgeSubmit">解押</div>
                <div style="background: #290e54;" class="btns allRelePledgeSubmit">全部解押</div>
                <div style="display: none;" class="btns relePledgeSubmiting">提交中...</div>
            </div>
        </div>
        <!--  解押 end-->
        <!--  提取 start-->
        <div class="van-popup van-popup--round van-popup--center cash_page" style="z-index: 2007;display: none;">
            <div class="popup" >
                <div class="title">提取{:config("dbconfig.sys.b_token_name")}</div>
                <input style="border: 1px solid silver;height: 1rem;width: 66%;padding-left: 0.2rem;" id="token_num" class="txt"  placeholder="请输入提取数量" type="number" />
                <div class="btns cashSubmit">提取</div>
                <div style="display: none;" class="btns cashSubmiting">提交中...</div>
            </div>
        </div>
        <!--  提取 end-->
        <!--  登陆弹窗 start-->
        <div class="van-popup van-popup--round van-popup--center login_page" style="z-index: 2007;display: none;">
            <div class="popup">
                <div  class="title">登录到您的账户</div>
                <div class="txt">要使用您个人账户的功能，请点击链接钱包</div>
                <a href="/" class="btns">链接钱包</a>
                <!--                   <div class="lang">-->
                <!--                       <img src="/static/home/image/zh.png" alt="">-->
                <!--                       <span>选择语言</span>-->
                <!--                   </div>-->
            </div>
        </div>
        <!--  登陆弹窗 end-->
        <!-- 左边-->
        <div class="van-popup van-popup--left" style="height: 100%; background: rgb(30, 19, 61); z-index: 2007; display: none;">
            <div class="sfelx">
                <div class="mentop">
                    <div class="slogs">
                        <img src="/static/home/image/coin.png" alt="" class="logo">
                    </div>
                    <div class="gb">{:config("dbconfig.sys.b_token_name")}</div>
                </div>
                <div class="menulist">
                    <div class="menuitem act">
                        <div class="left">
                            <img src="/static/home/image/home.png" alt="">
                            <a href="/" class="txt">首页</a>
                        </div>
                    </div>
                    <div class="menuitem">
                        <div class="left">
                            <img src="/static/home/image/reward.png" alt="">
                            <div class="txt">我的奖励</div>
                        </div>
                        <div class="right"> Coming Soon </div>
                    </div>
                    <div class="menuitem">
                        <div class="left">
                            <img  src="/static/home/image/nft.png" alt="">
                            <div class="txt">NFT</div>
                        </div>
                        <div class="right"> Coming Soon </div>
                    </div>
                    <div class="menuitem">
                        <div class="left">
                            <img src="/static/home/image/yyz.png" alt="">
                            <div class="txt">元宇宙</div>
                        </div>
                        <div class="right"> Coming Soon </div>
                    </div>
                    <div class="menuitem">
                        <div class="left">
                            <img src="/static/home/image/pimswap.png" alt="">
                            <div class="txt">Pimswap</div>
                        </div>
                        <div class="right"> Coming Soon </div>
                    </div>
                    <div class="menuitem">
                        <div class="left">
                            <img src="/static/home/image/mainnet.png" alt="">
                            <div class="txt">Mainnet</div>
                        </div>
                        <div class="right"> Coming Soon </div>
                    </div>
                    <div  class="menuitem act">
                        <div class="left">
                            <img src="/static/home/image/shequ.png" alt="">
                            <a href="/home/Help/index" class="txt">社区文化</a>
                        </div>
                    </div>
                </div>
                <!--                   <div class="foot">-->
                <!--                       <div class="lang">-->
                <!--                           <img src="/static/home/image/language.png" alt="" class="limg">-->
                <!--                           <div class="ttl">中文</div>-->
                <!--                           <img  src="/static/home/image/jiantou.png" alt="" class="dwimg">-->
                <!--                       </div>-->
                <!--                       <div class="price">PIL价格 <span class="num">0.00$</span></div>-->
                <!--                       <img src="/static/home/image/slog.png" alt="" class="slog">-->
                <!--                   </div>-->
            </div>
        </div>
    </div>
</div>
<div id="login_tip" class="van-popup van-popup--top van-notify van-notify--danger" style="transition-duration: 0.2s;z-index: 2001;display: none;">钱包失联了！！
</div>
<div id="tip" class="van-popup van-popup--top van-notify van-notify--danger" style="transition-duration: 0.2s;z-index: 2008;display: none;height: 1rem;"></div>
<div id="success_tip" class="van-popup van-popup--top van-notify van-notify--danger" style="transition-duration: 0.2s;z-index: 2008;display: none;height: 1rem;background: green;
"></div>
<script src="/static/home/js/jquery-1.9.1.js"></script>
<script src="/static/global/layer/layer.js"></script>
<script src="/static/home/js/web3.min.js"></script>
<script src="/static/home/js/index.js"></script>
<script>
    $(function () {
        //定义的全局变量
        var disY, startY, endY;
        //触摸事件开始时触发
        $('#app').on('touchstart', function (e) {
            startY = e.originalEvent.changedTouches[0].pageY;
            endY = e.originalEvent.changedTouches[0].pageY;
        });
        //触摸事件移动中时触发
        $('#app').on('touchmove', function (e) {
            disY = endY - startY;
            if(disY > 150){
                $("#success_tip").html("加载中...");
                $("#success_tip").show();
                window.location.reload();
            }else{
                endY = e.originalEvent.changedTouches[0].pageY;
            }


            // $(".btngrop .act").html(disY);
        });
        //触摸事件结束时触发
        // $('#app').on('touchend', function (e) {
        //     endY = e.originalEvent.changedTouches[0].pageY;
        // });
    })
</script>
</body>
</html>